package bblrtc

const (
	OK                    = 200
	ERR_SID               = 420
	ERR_SNF               = 421
	ERR_IO                = 422
	ERR_PARAM             = 423
	ERR_AUTH              = 424
	ERR_INTERNAL          = 425
	ERR_TIMEOUT           = 426
	ERR_USER_EXIST        = 427
	ERR_USER_NOT_EXIST    = 428
	ERR_CALLEE_NOT_EXIST  = 429
	ERR_CALLEE_BUSY       = 430
	ERR_CALLING_STATE     = 431
	ERR_CALLEE_OFFLINE    = 432
	ERR_CALLING_NOT_EXIST = 433
	ERR_KICKED            = 434
)

var err_code = map[int]string{
	200: "OK",
	420: "Sid Error",
	421: "Session Not Found",
	422: "Io Error",
	423: "Parameter Error",
	424: "Auth Fail",
	425: "Internal Error",
	426: "Session Timeout",
	427: "User Exist",
	428: "User Not Exist",
	429: "Callee Not Exist",
	430: "Callee Busy",
	431: "Calling State Error",
	432: "Callee Offline",
	433: "Calling Not Exist",
	434: "Kicked By Another Client",
}
